knn edit