Update shogun kmeans block.