updating app_template