Add time_spent on event object