'Update the foldered list.'

@GlancesPlugin._check_decorator
@GlancesPlugin._log_result_decorator
def update(self):

    self.reset()
    if (self.input_method == 'local'):
        if (self.glances_folders is None):
            return self.stats
        self.glances_folders.update()
        self.stats = self.glances_folders.get()
    else:
        pass
    return self.stats
