Update NewGraphAction.java