Updates the attributes of a specified node.
n : node id **data : the attributes and their new values
>>> import dynetx as dn >>> G = dn.DynGraph() >>> G.add_node(0, Label="A") >>> G.update_node_attr(0, Label="B")