document modification