Updates the html