update for s_ratio