update sample_cmd