modoify templates
delete old templates