code: protected void update() {
          putValue(Action.ACTION_COMMAND_KEY, command.getActionCommand());
          CommandFaceDescriptor face = command.getFaceDescriptor();
          if (face != null) {
              face.configure(this);
          }
          setEnabled(command.isEnabled());
      }
docs: Updates this instance according to the properties provided by the
  underlying command.