Registrationform updated with patterns