Update the layout of a post