Add data to the posts collection.