update module with extend stuffs