Updating html for templating