masterfiles calls it trigger_upgrade