Improved update-clones.sh to work with different dir structures.