Modify sample