Merge pull request #9 from cloudant/use-cast-for-ioq2-update_config

Use cast to send `update_config` to `ioq2`