getObstacle updated