Adding ranking? Updated the query for updating caps and added files to .gitignore