update basic register and login