Fix updating register input fields