Update NearestNeighbor