update PUBLISH message flow