registratiron fix + uprade logic