Update visits_controller.rb