TRE's used to be the thing but are very outdated technology, plus people have copied the technology and now make them at home then sell them on Ebay.
A cheap TRE can arrive at your door looking like someone soldered a bunch of crap together and shrink wrapped it.
The original TRE sometime worked and sometimes did not work on all aspects of it's intended functionality.
Then they came out with the "smart" TRE. This was supposed to work a better % of the time or be more reliable.
Soon after they came out with a GPS (gear position sensor) mod. These told the bike to never read 6th gear much like the later TRE's but is/was much more reliable. Still sort of old technology now. They sold for about $110 new and requires the clutch be pulled for installation. (I believe I may have one in the garage I'd sell for $30).
Now you have other options such as ECU editing and autotune mods.
Smithabusa sells the ECU editing hardware with free software if you are interested in going that route.
I understand money spent on a TRE is not wanted to be money lost, however if it is not working and you wish to upgrade now is the time.