login function update action changed