Mediator update

This PR relates to issue: https://github.com/jembi/openhim-console/issues/170