update provider class