replace Response object