Updated code for provider select box.