updating dock prefs