updating ajax.tickets.php