Update thread_tickets.py