Update paths in `d`