Update swift.py