update .gitignore and remove downloaded modules from cache