updated transformation matrix