update 3D transform