notes updated for couchdb