updating post layout