change the eventype defination