removed unused code, now reloading template table after delete