add request and router in document