merge the config