publish toggle