Add new post and Update post.