retain volumes and port configuration after container upgrade