Updated CORS Filter