update PATH and TERM