Update fs_upload_middleware.rb