update login with mysql