Update the Pdf class