Update WA_api.py