update post layout.