updating clustering methods