Update erbase.py