Modified the create event to save eventId to the DB