update the helperfunctions, hierachCluster