updated manhattanPath