modify event protocol