update Command.class