chang up_down for rank_index