Update wnw_engine.py