update spelling and autocompletion and workind with multiple files