added function to set structure message at runtime