Update class.ticket.php