fix 163's upgrade