EDIT DOCUMENT