update class, hover, active