def METHOD_NAME(self,
           role_id: str,
           **kwargs
           ) -> Dict:
    '''
    Update an existing role
    Args:
        role_id (str):
            The role instance identifier.
        name (optional, str):
            The name of role.
        description (optional, str):
           The description of role.
    Returns:
        dict:
            The updated widget object.
    Examples:
        >>> tad.roles.update(
        ...     role_id='1',
        ...     name='Basic'
        ...     )
    '''
    payload = self._schema.dump(self._schema.load(kwargs))
    return self._schema.load(self._patch(f"{role_id}", json=payload))