update rarking method