modify the reg