Updates .emacs and .profile.