Updated provider name detection