adds published_at field to posts