update route and response