Updated select query on provider.