updating couchDB JSON, still not right