persist config values when hitting save