Updating env.options to env.request.