updating yaml file with new instances