refactoring Ticket.update()