code: def update(self):
          
          # Init new stats
          stats = self.get_init_value()
  
          if self.input_method == 'local':
              for k, v in iteritems(self.glances_amps.update()):
                  stats.append({'key': k,
                                'name': v.NAME,
                                'result': v.result(),
                                'refresh': v.refresh(),
                                'timer': v.time_until_refresh(),
                                'count': v.count(),
                                'countmin': v.count_min(),
                                'countmax': v.count_max()})
          else:
              # Not available in SNMP mode
              pass
  
          # Update the stats
          self.stats = stats
  
          return self.stats
docs: Update the AMP list.