added data to the posts collection.