Update publish flow