use DeploymentPlan.id in AppUpgradeManager and make running deployments retrievable