modify module of register