i didn't know you could simply do that with the oem ecu...
there are chips that contain the tuning data, the original one is removed and new one with custom tune swapped in place, this is the most outdated way.
I am sure he must have done something to make the stock ecu tuneable... there are mods you can do but never knew a stock one is flashable