def update_dcid(dcid, prop, val):
    """Given a dcid and pv, update the dcid to include the pv.
    Args:
        dcid: current dcid
        prop: the property of the value to add to the dcid
        val: the value to add to the dcid
    Returns:
        updated dcid as a string
    """
    val_dcid = val.split(":")[-1]
    if val_dcid[0:4] == "WHO/":
        val_dcid = val_dcid[4:]
    if prop == "age":
        val_dcid = val_dcid.replace("+", "PLUS").replace("-", "TO").replace(
            "TOPLUS", "PLUS")
    return dcid + "_" + val_dcid