Written updateTransfer method in mediator.