Added edit template