Update graph; rb-tree is not finished