Update clusteringHamming