Updated calculation of global ranking