Update joint_data.cpp