Update inverter_class.php