Upgrade to version 3

Upgrades to version 3