Update template event file