Upgrade method improved

and fixed a bug that makes apples hang on the stage