Update graphs.js