updated major modes in .emacs file