update terminal portion