add published field to posts