add the average rating to resource base