code: def update_query_parameters(url, query_parameters):
      
      scheme, netloc, path, query_string, fragment = urlsplit(url)
      url_params = parse_qs(query_string)
  
      # Update url query parameters
      url_params.update(query_parameters)
  
      return urlunsplit(
          (scheme, netloc, path, urlencode(sorted(url_params.items()), doseq=True), fragment),
      )
docs: Return url with updated query parameters.
  
      Arguments:
          url (str): Original url whose query parameters need to be updated.
          query_parameters (dict): A dictionary containing query parameters to be added to course selection url.
  
      Returns:
          (slug): slug identifier for the identity provider that can be used for identity verification of
              users associated the enterprise customer of the given user.