modify event.