template changes on tables