updated EnergyPlotter