upgrade should obey check mode