Update BoardsController.php