Add publishing for every model change.