Cleaning after local updates