update settings + persistence