I'm having trouble figuring out how to update a document. Could you please provide some documentation or at least comment on this issue? Thanks!