Update graph.js