Update connect.rb