update of document