updates table_for