updated rating plugin