add config, update router