update usage of app api