mediator data update on template change