update a post from draft to publish
included authorId on edit view