update html for template delete