When I create a pdf it does not reflect the updated form