update cmd to exec