saving local template changes