Update affine transformations