Update dependency graph synchronously