test database
update login and succeed