K-means updated