put a transaction around the package updates