process template changes