Update methods.py