Add record edit method