def update_existing_keys(original: Dict[(Any, Any)], updates: Dict[(Any, Any)]) -> Dict[(Any, Any)]:
    'Iterate through all the updates and update a value in the original dictionary.\n\n    If the updates contain a key that is not present in the original dict, it will\n    be ignored.'
    updated = original.copy()
    for (k, v) in updates.items():
        if (k in updated):
            updated[k] = v
    return updated
Iterate through all the updates and update a value in the original dictionary.

If the updates contain a key that is not present in the original dict, it will
be ignored.
def update_existing_keys(original: Dict[(Any, Any)], updates: Dict[(Any, Any)]) -> Dict[(Any, Any)]:
    'Iterate through all the updates and update a value in the original dictionary.\n\n    If the updates contain a key that is not present in the original dict, it will\n    be ignored.'
    updated = original.copy()
    for (k, v) in updates.items():
        if (k in updated):
            updated[k] = v
    return updated