document update procedure