Configuration is upgraded one version ahead like 22->23, inside same version config is kept. Easiest is to use auc or luci-app-attendedsysupgrade which also keeps your installed packages.
"If you have checkmarked the “Keep settings” checkbox in the previous section and the system fails to boot after flashing, you need to consult the failsafe mode, to manually reset all settings. Otherwise you need to start configuring from scratch."