setState updated: change segment average speed after removing the obstacle.