change select when 10 records or more