Update function new ssh terminal