toggled the published flag