Modify samples