update the latest config when the settings are modified, otherwise changes were not effective until after a restart