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