Update soa.py file