Update dependency of packages