Updating the pdf file