updated the order model so that reduces the item quantity available for future purchases