update login and dbconn