modify event trigger