merge source into flow