updated rank weight