re-generate event controller