updating register page