Fixed overwrite issue with UpdateRanking()