Update PackController.php