Fix a publishUpdate call