update charger return type