changed event to create events on the event view