Update PostController.php