add a message when pub runs successfully