Update mainpackages