add rating in product, fix bug in fetchByParentIdWithChildren