save changes to document1