[api] add updateTicket method