Update downloadPdf.php