Document automatic upgrades