update post && post detail