updates and got pdf to save