Updating alert class