Upgrade application cookbook to 4.0.