update of table and tab