update pdf file with changes