update posts api json support