Update events table with activity name and end time