modify upTrade method