Upgrade to version 4