updating the html tag