Flag update is only possible if you age-up through revolutions.
Hm. I suppose it wouldn't be possible for civs to have more than one "revolution" though, no? Or is that something that can be coded around? Even just one flag change around age IV/V would be neat (Prussia -> German Empire, old UK flag -> new UK flag, Empire of Mexico -> US of Mexico as examples).