update emacs mode and theme