knn layout updates