update post layout and styles