update alignment