Updating the HTML structure