udpate master connection