change approach to reset $select only when $table, $shema, $field, or $exclude changed