Update connection.rb