add published flag