added api for publishing status messages