'Update stats views.'

def update_views(self):

    super(Plugin, self).update_views()
    try:
        self.views['min15']['decoration'] = self.get_alert_log(self.stats['min15'], maximum=(100 * self.stats['cpucore']))
        self.views['min5']['decoration'] = self.get_alert(self.stats['min5'], maximum=(100 * self.stats['cpucore']))
    except KeyError:
        pass
