updated couchdb-2.0