update html template to something more generic