Universities across the country improved their rankings this year thanks to better performance when it came to teaching and research.