edit mediator