Update IndexAction.php