updated elisp function to update info-dir.