Exporting to file shows updates only every 50000 rows