Apply safe callback to components and upgrade package dependencies.