update the pdf.