Upgrade project to 4.0