How do I change calendar events?

I have built a calendar using two data source tables. One for individual events and one for reoccurring events. Each event has their own server action to add an event. A modal was built to ask the user what type of event to add. Two additional modals were built to create the event using the correct source. My problem is that I cannot get the event_id from a selected event to use in the data query to update the data table. Below are two screen captures of the query. Can someone help me?


Thanks;
Jim