Updated code to fix provider issue for service request