Update transform.cpp