Updating posts JSON