track fields in edit template