fix confirmation before upgrade