update affine tranform definition