commit after each do_import