Updates the html.