def _update(app_id, properties, force):

    client = marathon.create_client()

    # Ensure that the application exists
    client.get_app(app_id)

    properties = _parse_properties(properties)
    deployment = client.update_app(app_id, properties, force)

    emitter.publish('Created deployment {}'.format(deployment))
    return 0
:param app_id: the id of the application
dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py/_update