update cmdlist