def update_wcc(node_to_update, node_to_add, l, node_2_status,
    tmp_components, comp_2_nb_links):
    """
    Update a component with a new node
    :param node_to_update:
    :param node_to_add:
    :param t0:
    :param t1:
    :param node_2_status:
    :param tmp_components:
    :param comp_2_nb_links:
    :return:
    """
    u, v = l[3], l[4]
    n_current_comp = node_2_status[node_to_update][1]
    comp_2_nb_links[n_current_comp] += 1
    node_2_status[node_to_update][0] += 1
    node_2_status[node_to_add] = [1, n_current_comp]
    current_comp = tmp_components[n_current_comp]
    current_comp.links.append(l)
    current_comp.active_links.add((u, v))
