change the registration file