Update validate.rb