updating the posts