set provider type