update post layout