edit template for app