Update tickets.class.php