How to edit the PDF template