more couchdb updates