- Change update_dependencies to upsert PackageVersions rather than
  inserting and potentially creating duplicates
- Ensure page_title is consistently set across all templates