continued work on method updatePepperModules, not finished yet