Update NextCommand.java