updated write clustering