re-render pdf