Update TicketController.php