Update document metadata

Updates document field values. Does not replace the document file.