update clustering