use request and response objects to update body content