Support transitive update

Fixes #1005