update pdf for formatting