update config to localhost