Add editing of post content and update action on post controller with http status codes