updated pathfinder updateGrid

- minor fixes