added ability to modify existing pdfs