upgrade ordering