merge environments