Update terminal preferences