refresh main.pdf