How can I modify PDF submission attachment?