sped up sqlite insertions