Update class.pdf.php