Update raven/middleware.py