update pointers to modules