Added update function to enable modules