updated the view for the events page