update to preferences