add publish http hook