code: def update(self):
          
          # Get the current processes list (once)
          processlist = glances_processes.getlist()
  
          # Iter upon the AMPs dict
          for k, v in iteritems(self.get()):
              if not v.enable():
                  # Do not update if the enable tag is set
                  continue
  
              amps_list = self._build_amps_list(v, processlist)
  
              if len(amps_list) > 0:
                  # At least one process is matching the regex
                  logger.debug("AMPS: {} processes {} detected ({})".format(len(amps_list),
                                                                            k,
                                                                            amps_list))
                  # Call the AMP update method
                  thread = threading.Thread(target=v.update_wrapper, args=[amps_list])
                  thread.start()
              else:
                  # Set the process number to 0
                  v.set_count(0)
                  if v.count_min() is not None and v.count_min() > 0:
                      # Only display the "No running process message" if countmin is defined
                      v.set_result("No running process")
  
          return self.__amps_dict
docs: Update the command result attributed.