Updated AppApi
Updated wrapper for new API