some updates for emacs