updated ratings plugin