change upgrade order