edit base template