support deleting records and unloading records