Update CmdApi.php