Updated QUpgrade, fixes #769