modify event controller