update dataSourcesAndEnvironments