change upgrade order

upgrade is an option to `install`.