update for segment events