need to supply rev when update

http://writing.jan.io/2013/12/19/understanding-couchdb-conflicts.html