Update applicationApi.js