Update sample configuration.