update the app template