def update(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self._parent_type, self._parent_id, self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>if '<STR_LIT>' in response.json():<EOL><INDENT>super(ContentMigration, self).set_attributes(response.json())<EOL>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Update an existing content migration.

:calls: `PUT /api/v1/accounts/:account_id/content_migrations/:id
    <https://canvas.instructure.com/doc/api/content_migrations.html#method.content_migrations.update>`_

    or `PUT /api/v1/courses/:course_id/content_migrations/:id
    <https://canvas.instructure.com/doc/api/content_migrations.html#method.content_migrations.update>`_

    or `PUT /api/v1/groups/:group_id/content_migrations/:id
    <https://canvas.instructure.com/doc/api/content_migrations.html#method.content_migrations.update>`_

    or `PUT /api/v1/users/:user_id/content_migrations/:id
    <https://canvas.instructure.com/doc/api/content_migrations.html#method.content_migrations.update>`_

:returns: True if the migration was updated, False otherwise.
:rtype: bool