update published and drafts template