update terminal info