Update the transform example to match the latest changes.