Modified edit template