update register form