update published state