updates to the pdf viewer