Changed type column to event_type