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 763d40362c1e4fc7a7d016972b26a53a0969d512, which actually does the update for the Elasticsearch backend.