update for xterm