'Update stats views.'

def update_views(self):

    super(Plugin, self).update_views()
    self.views['used']['decoration'] = self.get_alert_log(self.stats['used'], maximum=self.stats['total'])
    for key in ['active', 'inactive', 'buffers', 'cached']:
        if (key in self.stats):
            self.views[key]['optional'] = True
