finish new/delete record