updating the structure of the html file