Update settingslogic