Adding id to the event