update login process