update app template