Update joint.rb