Update NotificationsController.php