major update for graph