Update couchdb interface