update the app file