add rating of elements and categories