Update before callback on ActionDispatch
Update Request to ActionDispatch::Request