Update module settings.