update preference config