def adjust_unit(original: dict, incoming: dict) ->dict:
    """
    Adjusts the original unit dictionary with the incoming dictionary

    :param dict original: original dictionary
    :param dict incoming: adjusting dictionary
    :return: adjusted dictionary
    :rtype: dict
    """
    out = dict(original)
    for unit in incoming:
        if unit in out:
            new = out[unit] + incoming[unit]
            if new == 0:
                del out[unit]
            else:
                out[unit] = new
        else:
            out[unit] = incoming[unit]
    return out
