Fixed Quantity Update bug