update pathfinding simulation