Update api json response