Update diffmethod.py