added count and avg  in create/update  rating