update .gitignore and fix broken links