Minor modification in table upgrade.