update for publish