I'm not entirely sure but when ever I take my bike in for any work, I make it clear not to do any updates as it's mapped.
As I understand it, the ecu can be flashed back to the equivalent of standard settings but not so there is no trace of the ecu being flashed with 3rd party tools.