update on graph code