adding trace flow to mediation map