update terminal settings