updating config to port