Updated max number of events