Update md_sample