renamed refreshStockDetail to refreshStocks