update register.xhtml