Adding the code that will update the ticket.