'Update the stats.'

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

    self.reset()
    if (self.input_method == 'local'):
        try:
            self.stats = psutil_version_info
        except NameError:
            pass
    else:
        pass
    return self.stats
