update subtract qty when finished purchase