Updating document metadata

The update document API can be used to update the field values associated with the document. This API is not intended for updating the actual document data.