added published column to page
update published in page table when publishing