update
implement knn algorithm for recommendation