update cmd file