def cli(env, identifier, body):
    """Adds an update to an existing ticket."""
    mgr = SoftLayer.TicketManager(env.client)

    ticket_id = helpers.resolve_id(mgr.resolve_ids, identifier, 'ticket')

    if body is None:
        body = click.edit('\n\n' + ticket.TEMPLATE_MSG)

    mgr.update_ticket(ticket_id=ticket_id, body=body)
    env.fout("Ticket Updated!")
Adds an update to an existing ticket.