Updating HTML structure