update reconnect master and salve