update share code to use publisher settings