modify the history graph jsp