using containerCapacity to update stock