update webpage /getStocks when accessed