add flows to map