update3

updating register form for better compatibility