update the html