Update json
Add Content-Length header to response