add update method

I added an update method to allow a partial update of a document (vs an upsert, which replaces the entire document). This is related to cc01099fdc34d6e1c50f0fa863e4c31ceb1b1b88, which exposes the update method in the model.