Update instances.py