update executeCmd