test KNN update