document update