Update connections_controller.rb