change template event