Update clustering script