Ratings now save in database