updated tablemodel