Update sample with options