Update condition.rb