modify the imported modules