update pdf and html file