Update cmds.cpp