Edit sample.