Update modules and permissions