update login db connection