I've done this 3 times and I always replace the TB with the battery disconnected.
The ECU learns the running parameters of these. If you change it out and the ECU thinks you have an older, smaller TB in, it may have issues....like surging idle etc. until it learns the new unit.
If it learns the new unit after a reset (battery disconnect), it might go better....