use sqlite commit() less frequently because it is slow