updated keystonemiddleware