Update patches.py