Updated publishcontent module