Update dependency information correctly.