Add and remove some information in yaml files