update post & new post