update the app for API support