Update portfolioController.php