update the posts