def update(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.account_id, self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>if response.json().get('<STR_LIT>'):<EOL><INDENT>super(AuthenticationProvider, self).set_attributes(response.json())<EOL><DEDENT>return response.json().get('<STR_LIT>')<EOL>
Update an authentication provider using the same options as the create endpoint

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

:rtype: :class:`canvasapi.authentication_provider.AuthenticationProvider`