add publish related packets