update alert class