updated dataHandler update_stock_table to use dict