Update chargermode flags