Update data_generator.py