update stocktable