update emacs script