@staticmethod
def find_changes(index, storage):
    """Find changed string IDs in upstream repository."""
    result = set()
    for unit in storage.units:
        unitid = unit.getid()
        if unitid not in index:
            continue
        if unit.target != index[unitid].target:
            result.add(unitid)
    return result
