def METHOD_NAME(self, name: str, var: tk.IntVar) -> None:
    if var.get() and name not in self.current_services:
        self.current_services.add(name)
    elif not var.get() and name in self.current_services:
        self.current_services.remove(name)
        self.node.config_service_configs.pop(name, None)
    self.draw_current_services()
    self.node.config_services = self.current_services.copy()