Update connectionController.php