update settings variable