update login&options