update to define defaultconfig