update some style formatting rules