Updates an existing document.
id
ID of a document to update.
input
Fields required to update a document.
Returns DocumentUpdate .