modify event index