def METHOD_NAME(self, widget):
    @GtkUtils.run_in_main_loop
    def reset(result, error):
        self.btn_update.set_sensitive(True)
    self.btn_update.set_sensitive(False)
    RunAsync(
        task_func=self.update,
        callback=reset,
        widget=False,
        config=self.config
    )