Update GraphPanel.js