update on register.html/js