update some css classes