changed updateModule to use channels to listen for actions, changed updateModule_test to reflect this change