updated number of displayed events