updaobstacle bug fixed