Update flexible_weight_rate.rb