Edit select new table, edit template