add rank in the category