<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_role_config_groups(self, role_config_group_refs):
 """ Updates the role config groups in a host template. @param role_config_group_refs: List of role config group refs. @return: An ApiHostTemplate object. """

    update = copy.copy(self)
    update.roleConfigGroupRefs = role_config_group_refs
    return self._do_update(update)