def add_nipsa_action(index, annotation):
    """Return an Elasticsearch action for adding NIPSA to the annotation."""
    return {
        "_op_type": "update",
        "_index": index,
        "_type": "annotation",
        "_id": annotation["_id"],
        "doc": {"nipsa": True}
    }