update post controller and edit action admin post controller