Update TicketEndpoint.java