changed data chunks to 500 rows instead of 1000