update the html file