update a ticket