Adding update functionality to the timeline events.