add batch insert in databasewrapper