made the interface update when a stock is added