username12354 I believe counting of charge cycles is done by s microprocessor inside the battery that also decides when charging is over, monitors for thermal runaway, etc.
So I can imagine that the code running on that microprocessor might be updated. Many parties could do it, but I suspect the bootloader might be a good place to handle updating the battery firmware.
The 9a battery is large, I think? Personally I am happy about the precautions taken to reduce the number of lithium-ion battery fires, which are pretty fierce. The larger the battery is the more important it is for it to not go critical.