updated genereted HTML