update a post layout