Clean up dependencies that have changed