Add post and put to couchdb, delete update