update login and fetch data