Update sample settings