Updates to publish process.