Update packages
More updating of dependencies
Fix history test failures
Migrated code to match new modules