Update web_endpoints.py