updating terminal prefs