Updates to rating logic