Reverting changes to yaml file