STY: Update based on rank computation