updated code in the html