Update the sample settings