Update to use latest API.
Downgrade deployment target to iOS 5.1 to support iPad 1.