update alignments.