Update ActivityController.php