Update transform.cc