update emacs environment