Actually got updateRanks working