Add published field to posts