update login script