<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_role_config_group(resource_root, service_name, name, apigroup, cluster_name="default"):
 """ Update a role config group by name. @param resource_root: The root Resource object. @param service_name: Service name. @param name: Role config group name. @param apigroup: The updated role config group. @param cluster_name: Cluster name. @return: The updated ApiRoleConfigGroup object. @since: API v3 """

  return call(resource_root.put,
      _get_role_config_group_path(cluster_name, service_name, name),
      ApiRoleConfigGroup, data=apigroup, api_version=3)