np-edit method change

changed puts location in the edit_record method