Update vafmbase.py