update params in config file for [diff]