update change login and register