update terminal config