updated total rating in UI and removed userProfile.id