upgrade all packages
factor out legacy crude