making changes to the document