Update ticket.cpp