update path planning