udpating mysql conn