returning NULL if requesting an out of bounds index
comment
Updating joint map when a parent joint gets changed