Updates the name classes for alerts variations