def update(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.context_ref(), self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>if '<STR_LIT:id>' in response.json():<EOL><INDENT>super(OutcomeGroup, self).set_attributes(response.json())<EOL><DEDENT>return '<STR_LIT:id>' in response.json()<EOL>
Update an outcome group.

:calls: `PUT /api/v1/global/outcome_groups/:id \
    <https://canvas.instructure.com/doc/api/outcome_groups.html#method.outcome_groups_api.update>`_
    or `PUT /api/v1/accounts/:account_id/outcome_groups/:id \
    <https://canvas.instructure.com/doc/api/outcome_groups.html#method.outcome_groups_api.update>`_
    or `PUT /api/v1/courses/:course_id/outcome_groups/:id \
    <https://canvas.instructure.com/doc/api/outcome_groups.html#method.outcome_groups_api.update>`_

:returns: True if updated, False otherwise.
:rtype: bool