Wrong energy totals during Inverter maintenance

Hi there
I have a Home Assistant correctly working using solarman to collect my inverter data, but during inverter maintenance for a firmware upgrade home assistant collected 2 periods with completely wrong values in scale of MW/h.
There is any way to fix these values in database? Wich table and set of registers I need to update?
Comparation between day affected vs previous day.