updating nEvents when updateEventRange