update config js