Upgrading legacy apps to SDK 2.0