update wsgi handler