update login api request