modify table struct