Safe version update for Monolog and YAML.