Update event IDs in the events table as well.