update cmd excute method