code: def update_name(self, name):
          
          if name != self.name:
              self.parent.executables[name] = self
              del self.parent.executables[self.name]
              self.name = name
docs: Changes the name of this executable and the reference to it in the
          parent module.