React to dependency changes