Update sample settings.