Cleared up the code in RankingsState::update()