Update terminal settings