update joint limit