Updates dept#show to not use a ton of SQL queries