Update instance_generator.py