Source path updates and dependency trimming