upgrading modules and core