function update_rating($item, $user, $rating) { return Ratings::newInstance()->updateRatingsData($item, $user, $rating); }