Update rating.rb