code: def update(self):
          
          args = {attr: getattr(self, attr) for attr in self.to_update}
          _perform_command(self, 'user_update', args)
docs: Update the user's details on Todoist.
  
          This method must be called to register any local attribute changes
          with Todoist.
  
          >>> from pytodoist import todoist
          >>> user = todoist.login('john.doe@gmail.com', 'password')
          >>> user.full_name = 'John Smith'
          >>> # At this point Todoist still thinks the name is 'John Doe'.
          >>> user.update()
          >>> # Now the name has been updated on Todoist.