save/update settings correctly
remove logging