XML updated for graph