add data to collection of posts