updated watch config to yaml file