added UpgradeVG to general parsing function