update the document without exceptions