Update DashboardController.php