update appliction.js