update model::tableName() to use its own db connection