code: def save(self, async=False, callback=None, encrypted=True):
          
  
          if self._new_password and encrypted:
              self.password = Sha1.encrypt(self._new_password)
  
          controller = NURESTSession.get_current_session().login_controller
          controller.password = self._new_password
          controller.api_key = None
  
          data = json.dumps(self.to_dict())
          request = NURESTRequest(method=HTTP_METHOD_PUT, url=self.get_resource_url(), data=data)
  
          if async:
              return self.send_request(request=request, async=async, local_callback=self._did_save, remote_callback=callback)
          else:
              connection = self.send_request(request=request)
              return self._did_save(connection)
docs: Updates the user and perform the callback method