update alignment styles