update post, set post to publish