update qtytopurchase