update couchdb design