update module and provider associations