kmeansCluster algorithm update