improved CouchDB()
Added: updating documents