modify the module of register