re-render the pdf