put dltype back in sqlite db