Not_found error on update

My bad, I was simply giving the document to the documentUpdate function - it expects docId and docRevision separately.