update a post's content