Updating setConfig example