update the document again