fix destroy, update and create function for post, also fix sub view rendering apotosis issue