update pdf and html