Update mws.py