Upgrade packages, including several improvements and bug fixes