update for segments route