update table_factory calls