ranking algorithm updated