changing data stored in couchdb