update the publish