modify card_ranks