reduce quantity update hazard