update settings.lol to use  var