How to Modify a Document