update yaml file