Update the proxy config when certin things happen.