update published and categories