update couchdb adapter