Update the yaml configuration with existing before / after syntax