updated published message and log to use the username