changing from mongo to cloudant