Update preference.lua