update alignment classes