Some changes for deldb