update the stock